package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 jifen_points_pool
 * 
 * @author ruoyi
 * @date 2025-05-14
 */
public class JifenPointsPool extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long poolId;

    /** 总积分 */
    @Excel(name = "总积分")
    private Long totalPoints;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long usedPoints;

    /** DAY/WEEK/MONTH */
    @Excel(name = "DAY/WEEK/MONTH")
    private String cycle;

    /** 重置时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "重置时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date resetTime;

    public void setPoolId(Long poolId) 
    {
        this.poolId = poolId;
    }

    public Long getPoolId() 
    {
        return poolId;
    }

    public void setTotalPoints(Long totalPoints) 
    {
        this.totalPoints = totalPoints;
    }

    public Long getTotalPoints() 
    {
        return totalPoints;
    }

    public void setUsedPoints(Long usedPoints) 
    {
        this.usedPoints = usedPoints;
    }

    public Long getUsedPoints() 
    {
        return usedPoints;
    }

    public void setCycle(String cycle) 
    {
        this.cycle = cycle;
    }

    public String getCycle() 
    {
        return cycle;
    }

    public void setResetTime(Date resetTime) 
    {
        this.resetTime = resetTime;
    }

    public Date getResetTime() 
    {
        return resetTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("poolId", getPoolId())
            .append("totalPoints", getTotalPoints())
            .append("usedPoints", getUsedPoints())
            .append("cycle", getCycle())
            .append("resetTime", getResetTime())
            .toString();
    }
}
